package org.jeecg.modules.business.outbound.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.business.outbound.entity.WmsOutReceiptTaskMaterialExport;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 出库任务-导出
 * @Author: jeecg-boot
 * @Date: 2023-08-09
 * @Version: V1.0
 */
@Data
@ApiModel(value = "wms_out_receipt_taskPage对象", description = "出库任务")
public class WmsOutReceiptTaskExport {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 组织
     */
    @Excel(name = "组织", width = 15)
    @ApiModelProperty(value = "组织")
    private String organization;
    /**
     * 出库状态
     */
    @Excel(name = "出库状态", width = 15, dicCode = "outbound_status")
    @ApiModelProperty(value = "出库状态")
    private String outboundStatus;
    /**
     * 检验结果
     */
    @Excel(name = "检验结果", width = 15)
    @ApiModelProperty(value = "检验结果")
    private String inspectResult;
    /**
     * 单据类型
     */
    @Excel(name = "单据类型", width = 15, dicCode = "outbound_task")
    @Dict(dicCode = "document_type")
    @ApiModelProperty(value = "单据类型")
    private String documentType;
    /**
     * 单据编号
     */
    @Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private String documentCode;
    /**
     * 货主类型
     */
    @Excel(name = "货主类型", width = 15, dicCode = "wms_owner_of_cargo")
    @ApiModelProperty(value = "货主类型")
    private String ownerType;
    /**
     * 任务日期
     */
    @Excel(name = "任务日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "任务日期")
    private Date taskDate;
    /**
     * 计划日期
     */
    @Excel(name = "计划日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "计划日期")
    private Date planTime;
    /**
     * 部门
     */
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "部门")
    private String sysOrgCode;
    /**
     * 货主
     */
    @Excel(name = "货主", width = 15, dicCode = "wms_owner_of_cargo")
    @Dict(dicCode = "wms_owner_of_cargo")
    @ApiModelProperty(value = "货主")
    private String owner;
    /**
     * 库存方向
     */
    @Excel(name = "库存方向", width = 15)
    @ApiModelProperty(value = "库存方向")
    private String inventoryDirection;
    /**
     * 客户
     */
    @Excel(name = "客户", width = 15, dictTable = "wms_basic_customer", dicCode = "id", dicText = "code")
    @ApiModelProperty(value = "客户")
    @Dict(dictTable = "wms_basic_customer", dicText = "code", dicCode = "id")
    private String customer;
    /**
     * 供应商
     */
    @Excel(name = "供应商", width = 15, dictTable = "wms_basic_supplier", dicCode = "id", dicText = "code")
    @ApiModelProperty(value = "供应商")
    @Dict(dictTable = "wms_basic_supplier", dicText = "code", dicCode = "id")
    private String supplier;
    /**
     * 仓库组
     */
    @Excel(name = "仓库组id", width = 15)
    @ApiModelProperty(value = "仓库组id")
    @Dict(dictTable = "wms_basic_warehouse_group", dicText = "name", dicCode = "id")
    private String wmsBasicWarehouseGroupId;
    /**
     * 仓管员
     */
    @Excel(name = "仓管员", width = 15)
    @ApiModelProperty(value = "仓管员")
    private String warehouseKeeper;
    /**
     * 单据状态
     */
    @Excel(name = "单据状态", width = 15, dicCode = "document_status")
    @ApiModelProperty(value = "单据状态")
    private String documentStatus;
    /**
     * 检验状态
     */
    @Excel(name = "检验状态", width = 15)
    @ApiModelProperty(value = "检验状态")
    private String inspectStatus;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 仓管方向
     */
    @Excel(name = "仓管方向", width = 15)
    @ApiModelProperty(value = "仓管方向")
    private String warehouseDirection;
    /**
     * 逻辑删除
     */
    @Excel(name = "逻辑删除", width = 15)
    @ApiModelProperty(value = "逻辑删除")
    private Integer delFlag;
    /**
     * 租户id
     */
    @Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;
    /**
     * 是否有子数据
     */
    @Excel(name = "是否有子数据", width = 15)
    @ApiModelProperty(value = "是否有子数据")
    private Integer hasChild;

    @ExcelCollection(name = "出库任务-物料")
    @ApiModelProperty(value = "出库任务-物料")
    private List<WmsOutReceiptTaskMaterialExport> wmsOutReceiptTaskMaterialExportList;

    @ApiModelProperty(value = "入库凭证")
    private String voucher;

    @ApiModelProperty(value = "来源系统")
    private String originalSystem;

    @ApiModelProperty(value = "来源单据")
    private String originalSystemNumber;

    @ApiModelProperty(value = "请求人员")
    private String requestPerson;

    @ApiModelProperty(value = "请求时间")
    private String requestTime;

    @ApiModelProperty(value = "任务类型")
    private String taskType;

    @ApiModelProperty(value = "站点编号")
    private String siteCode;

    @ApiModelProperty(value = "任务编号")
    private String taskCode;

    @ApiModelProperty(value = "产线名称")
    private String productLine;

    @ApiModelProperty(value = "备料/退料区域")
    private String materialArea;

    @ApiModelProperty(value = "备料/退料站点")
    private String materialSite;

    @ApiModelProperty(value = "合并主任务编号")
    private String mergeTaskCode;

    @ApiModelProperty(value = "合并产线名称")
    private String mergeProductLine;

    @ApiModelProperty(value = "是否全序列")
    private String allSequence;

    @ApiModelProperty(value = "生产订单号")
    private String productOrderNumber;

    @ApiModelProperty(value = "台数")
    private String unitsNumber;

    @ApiModelProperty(value = "下层数量")
    private String downBoardNum;

    @ApiModelProperty(value = "上层数量")
    private String upBoardNum;

    @ApiModelProperty(value = "叫料范围")
    private String callRange;


}
